package com.cyx.fruit.util;
//判断字符串是否为空
public class StringUtil {
    public static boolean isEmpty(String str){
        return str == null || "".equals(str);
    }

    //判断字符串非空
    public static boolean isNotEmpty(String str){
        return !isEmpty(str);
    }

}
